package com.guigu.springcloud.service;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Slf4j
@Component
public class PaymentFeignHystrixService implements PaymentHystrixService {

    @Override
    public String paymentInfo(Integer id) {
        log.info("服务器异常");
        return "(ノ｀Д)ノ 服务器异常了呢，请稍后再试！！";
    }

    @Override
    public String paymentInfoError(Integer id) {
        log.info("服务器异常");
        return "(ノ｀Д)ノ 服务器异常了呢，请稍后再试！！";
    }
}
